<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>日常生活活动评估表详情</title>
    <#include "/common/resource.ftl">
    <script type="text/javascript">
        $(function () {
            <#if (params.id)??>
                $.ajaxRequest({
                    url: '${params.contextPath}/web/dailyLifeActivityAssessment/query.json',
                    data: {id: "${params.id}"},
                    success: function (data) {
                        if (!data.success) {
                            $.message(data.message);
                            return;
                        }
                        var record = data.data;
                        for (var key in record) {
                            $("[name='" + key + "']").val(record[key]);
                        }
                    }
                });
            </#if>
        });
    </script>
</head>
<body>
<div class="ui-table-div">
    <table class="layui-table ui-table">
        <tr>
            <th>姓名</th>
            <td>
                <input type="text" name="elderName" class="layui-input" disabled>
            </td>
        </tr>
        <tr>
            <th>进食情况</th>
            <td>
                <select name="eatScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="10">可独立进食</option>
                    <option value="5">需部分帮助</option>
                    <option value="0">需极大帮助或完全依赖他人</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>洗澡情况</th>
            <td>
                <select readonly="" name="washScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="5">准备好洗澡水后，可自己独立完成洗澡过程</option>
                    <option value="0">在洗澡过程中需他人帮助</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>修饰情况</th>
            <td>
                <select name="retouchScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="5">可自己独立完成</option>
                    <option value="0">需他人帮助</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>穿衣情况</th>
            <td>
                <select name="wareScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="10">可独立完成</option>
                    <option value="5">需部分帮助</option>
                    <option value="0">需极大帮助或完全依赖他人</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>大便控制情况</th>
            <td>
                <select name="stoolControlScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="10">可控制大便</option>
                    <option value="5">偶尔失控</option>
                    <option value="0">完全失控</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>小便控制情况</th>
            <td>
                <select name="peeControlScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="10">可控制小便</option>
                    <option value="5">偶尔失控</option>
                    <option value="0">完全失控,或留置导尿管</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>入厕情况</th>
            <td>
                <select name="toiletScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="10">可独立完成</option>
                    <option value="5">需部分帮助</option>
                    <option value="0">需极大帮助或完全依赖他人</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>床椅转移情况</th>
            <td>
                <select name="bedChairTransferScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="15">可独立完成</option>
                    <option value="10">需部分帮助</option>
                    <option value="5">需极大帮助</option>
                    <option value="0">完全依赖他人</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>平地行走情况</th>
            <td>
                <select name="walkGroundScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="15">可独立在平地上行走45m</option>
                    <option value="10">需部分帮助</option>
                    <option value="5">需极大帮助</option>
                    <option value="0">完全依赖他人</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>上下楼梯情况</th>
            <td>
                <select name="walkStairsScore" class="layui-input" disabled>
                    <option value="">请选择</option>
                    <option value="10">可独立上下楼梯</option>
                    <option value="5">需部分帮助</option>
                    <option value="0"> 需极大帮助或完全依赖他人</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>日常活动总分数</th>
            <td>
                <input type="text" name="totalScore" class="layui-input" disabled>
            </td>
        </tr>
        <tr>
            <th>日常活动等级</th>
            <td>
                <select name="level" class="layui-input" disabled>
                    <option value="0">能力完好</option>
                    <option value="1">轻度受损</option>
                    <option value="2">中度受损</option>
                    <option value="3">重度受损</option>
                </select>
            </td>
        </tr>
    </table>
</div>
</body>

</html>
